package com.hermes.biz.dao.admin;

import java.util.List;

import com.hermes.biz.common.model.user.AdminDO;

public interface AdminDAO {

    /**
     * @return
     */
    public List<AdminDO> getAdminList();

    /**
     * @param adminName
     * @return
     */
    public AdminDO getByAdminName(String adminName);

    /**
     * @param adminId
     * @return
     */
    public AdminDO getByAdminId(String adminId);

    /**
     * @param adminDO
     */
    public void saveAdmin(AdminDO adminDO);

    /**
     * @param adminId
     */
    public void deleteAdmin(long adminId);

    /**
     * @param adminDO
     */
    public void updateAdmin(AdminDO adminDO);
}
